package com.ruoyi.basebill.service;

import java.util.List;
import com.ruoyi.basebill.domain.OmsSumpurinwarehsbill;

/**
 * 汇总采购入库单Service接口
 * 
 * @author wenyixiong
 * @date 2023-02-18
 */
public interface IOmsSumpurinwarehsbillService 
{
    /**
     * 查询汇总采购入库单
     * 
     * @param id 汇总采购入库单主键
     * @return 汇总采购入库单
     */
    public OmsSumpurinwarehsbill selectOmsSumpurinwarehsbillById(Long id);

    /**
     * 查询汇总采购入库单列表
     * 
     * @param omsSumpurinwarehsbill 汇总采购入库单
     * @return 汇总采购入库单集合
     */
    public List<OmsSumpurinwarehsbill> selectOmsSumpurinwarehsbillList(OmsSumpurinwarehsbill omsSumpurinwarehsbill);


    public List<OmsSumpurinwarehsbill> selectOmsSumpurinwarehsbillDetailList(OmsSumpurinwarehsbill omsSumpurinwarehsbill);

    /**
     * 新增汇总采购入库单
     * 
     * @param omsSumpurinwarehsbill 汇总采购入库单
     * @return 结果
     */
    public int insertOmsSumpurinwarehsbill(OmsSumpurinwarehsbill omsSumpurinwarehsbill);

    /**
     * 修改汇总采购入库单
     * 
     * @param omsSumpurinwarehsbill 汇总采购入库单
     * @return 结果
     */
    public int updateOmsSumpurinwarehsbill(OmsSumpurinwarehsbill omsSumpurinwarehsbill);

    /**
     * 批量删除汇总采购入库单
     * 
     * @param ids 需要删除的汇总采购入库单主键集合
     * @return 结果
     */
    public int deleteOmsSumpurinwarehsbillByIds(Long[] ids);

    /**
     * 删除汇总采购入库单信息
     * 
     * @param id 汇总采购入库单主键
     * @return 结果
     */
    public int deleteOmsSumpurinwarehsbillById(Long id);

    /**
     * 查询是否推送过EAS的汇总采购入库单数据
     * @param isTrans
     * @return
     */
    public List<OmsSumpurinwarehsbill> selectPushEASSumPurinwarehsbillList(int isTrans);
}
